package com.wuyi.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author 曾川
 * @version 1.0.0
 * @ClassName PostDetailsVO.java
 * @Description 返回给前端的帖子详情VO
 * @createTime 2021年11月03日 22:13:00
 */
@Data
public class PostDetailsVO {

    private Integer postId;
    private String postUid;
    private String postUserName;
    private String postUserFace;
    private String postTitle;
    private String postText;
    private Integer postHot;
    private Integer isAnonymous;
    private String[] postImage;
//    private String[] test;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    //评论区中的list
    private List<CommentVO> commentVOList;


}
